/*
 * base_gui.h
 *
 *  Created on: 19.08.2012
 *      Author: caffeine
 */

#ifndef BASE_GUI_H_
#define BASE_GUI_H_


#include <irrlicht.h>
#include <xml/IXmlNode.h>
 #include <StringUtils.h>

extern "C" IRRLICHT_API void IRRCALLCONV readBaseGUITags(irr::gui::IGUIElement*e,irr::xml::IXmlNode*node){
	e->setID(irr::str::makeID(node->getAttString("id","-1")));
}

#endif /* BASE_GUI_H_ */
